Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing Trigrids


Q3TriGrid_GetVertexPosition

You can use the Q3TriGrid_GetVertexPosition function to get the position of a vertex of a trigrid.

TQ3Status Q3TriGrid_GetVertexPosition (
TQ3GeometryObject triGrid, 
unsigned long rowIndex, 
unsigned long columnIndex, 
TQ3Point3D *position);
triGrid
A trigrid.
rowIndex
A row index into the vertices array of the specified trigrid.
columnIndex
A column index into the vertices array of the specified trigrid.
position
On exit, the position of the specified vertex.
DESCRIPTION
The Q3TriGrid_GetVertexPosition function returns, in the position parameter, the position of the vertex having row and column indices rowIndex and columnIndex in the vertices array of the trigrid specified by the triGrid parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996